package com.xinke.module.system.model.vo.sms;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 短信渠道 Response VO")
@Data
@ExcelIgnoreUnannotated
public class SmsChannelRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "16337")
    @ExcelProperty("编号")
    private Long channelId;

    @Schema(description = "短信签名", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("短信签名")
    private String smsSignature;

    @Schema(description = "渠道编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("渠道编码")
    private String channelCode;

    @Schema(description = "开启状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("开启状态")
    private Integer channelStatus;

    @Schema(description = "备注", example = "随便")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "短信 API 的账号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("短信 API 的账号")
    private String apiKey;

    @Schema(description = "短信 API 的秘钥")
    @ExcelProperty("短信 API 的秘钥")
    private String apiSecret;

    @Schema(description = "短信发送回调 URL", example = "https://www.iocoder.cn")
    @ExcelProperty("短信发送回调 URL")
    private String callbackUrl;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}